package com.daka.dao1;

import com.daka.entity.ActivitySign;
import com.daka.mybatis.SQLMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository(value = "activitySignDao")
@SQLMapper
public interface ActivitySignDao {
    int deleteByPrimaryKey(Integer id);

    int insert(ActivitySign record);

    int insertSelective(ActivitySign record);

    ActivitySign selectByPrimaryKey(Integer id);

    List<ActivitySign> selectByStatement(ActivitySign record);

    List<ActivitySign> findByActivity(@Param("activityID") Integer activityID);

    List<Integer> selectUserActs(@Param("member") Integer member,@Param("delstatus") Integer delstatus);

    String selectUserLast(@Param("member") Integer member,@Param("delstatus") Integer delstatus);

    int selectByStatementCount(ActivitySign record);

    int updateByPrimaryKeySelective(ActivitySign record);
}